package uk.ac.bath.machines.tristate;

import uk.ac.bath.legacy.Value;
import java.io.*;

public class Cmp extends BinaryOperator {

    public void binaryOp(Value a, Value b, Value result) {

        double val = result.val = (a.val - b.val) / 2.0f;

    }

    public Object clone() {
        return this;
    }

    public void toString(StringWriter w) {
        w.write("Cmp ");
    }
}
